//
//  LLButton.m
//  UI_02_homework
//
//  Created by 洛洛大人 on 16/6/6.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "LLButton.h"

@implementation LLButton
+(instancetype)buttonWithframe:(CGRect)frame text:(NSString *)text {
    LLButton *button = [LLButton buttonWithType:UIButtonTypeCustom];
    button.frame = frame;
    button.backgroundColor = [UIColor whiteColor];

    [button setTitle:text forState:UIControlStateNormal];
   
    [button setTitleColor:[UIColor blueColor] forState:UIControlStateNormal];
    
    
    
    return button;
}


@end
